package api.rowan.dubboservice.impl;

import api.rowan.dubboservice.mapper.PetMapper;
import api.rowan.pojo.Pet;
import api.rowan.service.PetService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@DubboService
@Component
public class PetServiceImpl implements PetService {

    @Autowired
    PetMapper petMapper;

    @Override
    public Pet getPet() {
        return petMapper.getPet();
    }
}
